import { api, dataHandler } from 'utils/http';

const url = '/api/service';

const listService = () => api.get(url).then(dataHandler);

export {
  // eslint-disable-next-line import/prefer-default-export
  listService,
};
